package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.wemedia.dtos.WmManuallyReviewDto;
import com.heima.model.wemedia.dtos.WmWeMediaDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmNews;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

public interface WmWeMediaService extends IService<WmNews> {
    //查询所有
    ResponseResult findAll(WmWeMediaDto adWeMediaDto);

    //查询单个
    ResponseResult selectById(@PathVariable("id") Long id);

    //人工审核失败
    ResponseResult auditReject(WmManuallyReviewDto dto);

    //人工审核成功
    ResponseResult auditSucceed(WmManuallyReviewDto dto);

}
